﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SnmpForm
{
    public class FrmSub:Form
    {
        protected MainForm _objForm = null;
        public FrmSub()
        {
        }
        public FrmSub(MainForm objForm)
        {
            _objForm = objForm;
        }
        public void RestartDetectFaultTask()
        {
            _objForm.BeginInvoke(_objForm.detectFaultTaskManager, "restart");
        }
        public void RestartApIpPoolTask()
        {
            BeginInvoke(_objForm.apIpPoolTaskManager, "restart");
        }

        private void InitializeComponent()
        {
            this.SuspendLayout();
            // 
            // FrmSub
            // 
            this.ClientSize = new System.Drawing.Size(284, 262);
            this.Name = "FrmSub";
            this.ResumeLayout(false);

        }
    }
}
